<template>
	<view>
		<view
			class="imagery"
			v-for="(imagery, index) in currentImageries"
			:key="index"
			:style="{ background: 'url(' + imagery.imageUrl + ')0 0/100% 100%', width: imagery.width, height: imagery.height, top: imagery.top, left: imagery.left ,zIndex:imagery.isFront?99:97}"
		></view>
	</view>
</template>

<script>
export default {
	props: ['currentImageries']
};
</script>

<style lang="stylus" scoped>
.imagery
	position absolute
	z-index 97
</style>
